Optimal. Leaf size=2 \[ \tanh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0039866, antiderivative size = 2, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {1584, 206} \[ \tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 206
Rubi steps
\begin{align*} \int \frac{x}{x-x^3} \, dx &=\int \frac{1}{1-x^2} \, dx\\ &=\tanh ^{-1}(x)\\ \end{align*}
Mathematica [B] time = 0.0020419, size = 19, normalized size = 9.5 \[ \frac{1}{2} \log (x+1)-\frac{1}{2} \log (1-x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 3, normalized size = 1.5 \begin{align*}{\it Artanh} \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.07402, size = 18, normalized size = 9. \begin{align*} \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.60764, size = 45, normalized size = 22.5 \begin{align*} \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.082663, size = 12, normalized size = 6. \begin{align*} - \frac{\log{\left (x - 1 \right )}}{2} + \frac{\log{\left (x + 1 \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23626, size = 20, normalized size = 10. \begin{align*} \frac{1}{2} \, \log \left ({\left | x + 1 \right |}\right ) - \frac{1}{2} \, \log \left ({\left | x - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]